<?php

    $view = '';
    if (isset($_GET["view"]))
    {
        $view = trim($_GET["view"]);
    }

    switch ($view)
    {
        case "":
            include_once("com_new_news.view.php");
            break;
        case "new_product_list":
            include_once("com_new_news.view.php");
            break;
        default:
            $core_class->_redirect(".");
            break;
    }
?>